import { request } from "@/http/axios"

// 获取用户数据
export function getUserDataList(data) {
    return request({
        url: '/visualization/userDataList',
        method: "get",
        params:data
    })
}
// 获取用户地图数据
export function getUserMapDataList(data) {
    return request({
        url: '/visualization/userMapData',
        method: "get",
        params:data
    })
}
// 用户数据统计
export function userDataStatistics(data) {
    return request({
        url: '/visualization/userDataStatistics',
        method: "get",
        params: data
    });
}
// 用户登录及占比统计
export function userLoginStatistics(data) {
    return request({
        url: '/visualization/userLoginStatistics',
        method: "get",
        params: data
    });
}
// 用户活跃及占比
export function userActiveStatistics(data) {
    return request({
        url: '/visualization/userActiveStatistics',
        method: "get",
        params: data
    });
}

// 获取项目统计数据
export function getProjectCount(data) {
    return request({
        url: '/visualization/projectStatistics',
        method: "get",
        params: data
    });
}
// 获取项目折线图数据
export function getProjectLineData(data) {
    return request({
        url: '/visualization/projectLineData',
        method: "get",
        params: data
    });
}
// 获取项目地图数据
export function getProjectMapData(data) {
    return request({
        url: '/visualization/projectMapData',
        method: "get",
        params: data
    });
}
// 项目数量及占比统计
export function getProjectTypePie(data) {
    return request({
        url: '/visualization/getProjectTypePie',
        method: "get",
        params: data
    });
}
// 项目类型数量及占比
export function getProjectTypeBar(data) {
    return request({
        url: '/visualization/getProjectTypeBar',
        method: "get",
        params: data
    });
}
// 项目浏览量和访问量
export function getProjectVisit(data) {
    return request({
        url: '/visualization/getProjectVisit',
        method: "get",
        params: data
    });
}


























